package com.hutao.medical.pojo.print;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ApplyPrintExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ApplyPrintExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andApplyNameIsNull() {
            addCriterion("apply_name is null");
            return (Criteria) this;
        }

        public Criteria andApplyNameIsNotNull() {
            addCriterion("apply_name is not null");
            return (Criteria) this;
        }

        public Criteria andApplyNameEqualTo(String value) {
            addCriterion("apply_name =", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotEqualTo(String value) {
            addCriterion("apply_name <>", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameGreaterThan(String value) {
            addCriterion("apply_name >", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameGreaterThanOrEqualTo(String value) {
            addCriterion("apply_name >=", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameLessThan(String value) {
            addCriterion("apply_name <", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameLessThanOrEqualTo(String value) {
            addCriterion("apply_name <=", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameLike(String value) {
            addCriterion("apply_name like", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotLike(String value) {
            addCriterion("apply_name not like", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameIn(List<String> values) {
            addCriterion("apply_name in", values, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotIn(List<String> values) {
            addCriterion("apply_name not in", values, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameBetween(String value1, String value2) {
            addCriterion("apply_name between", value1, value2, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotBetween(String value1, String value2) {
            addCriterion("apply_name not between", value1, value2, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyCardIsNull() {
            addCriterion("apply_card is null");
            return (Criteria) this;
        }

        public Criteria andApplyCardIsNotNull() {
            addCriterion("apply_card is not null");
            return (Criteria) this;
        }

        public Criteria andApplyCardEqualTo(String value) {
            addCriterion("apply_card =", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardNotEqualTo(String value) {
            addCriterion("apply_card <>", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardGreaterThan(String value) {
            addCriterion("apply_card >", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardGreaterThanOrEqualTo(String value) {
            addCriterion("apply_card >=", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardLessThan(String value) {
            addCriterion("apply_card <", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardLessThanOrEqualTo(String value) {
            addCriterion("apply_card <=", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardLike(String value) {
            addCriterion("apply_card like", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardNotLike(String value) {
            addCriterion("apply_card not like", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardIn(List<String> values) {
            addCriterion("apply_card in", values, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardNotIn(List<String> values) {
            addCriterion("apply_card not in", values, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardBetween(String value1, String value2) {
            addCriterion("apply_card between", value1, value2, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardNotBetween(String value1, String value2) {
            addCriterion("apply_card not between", value1, value2, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyDateIsNull() {
            addCriterion("apply_date is null");
            return (Criteria) this;
        }

        public Criteria andApplyDateIsNotNull() {
            addCriterion("apply_date is not null");
            return (Criteria) this;
        }

        public Criteria andApplyDateEqualTo(Date value) {
            addCriterion("apply_date =", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotEqualTo(Date value) {
            addCriterion("apply_date <>", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateGreaterThan(Date value) {
            addCriterion("apply_date >", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateGreaterThanOrEqualTo(Date value) {
            addCriterion("apply_date >=", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateLessThan(Date value) {
            addCriterion("apply_date <", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateLessThanOrEqualTo(Date value) {
            addCriterion("apply_date <=", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateIn(List<Date> values) {
            addCriterion("apply_date in", values, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotIn(List<Date> values) {
            addCriterion("apply_date not in", values, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateBetween(Date value1, Date value2) {
            addCriterion("apply_date between", value1, value2, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotBetween(Date value1, Date value2) {
            addCriterion("apply_date not between", value1, value2, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyReasonIsNull() {
            addCriterion("apply_reason is null");
            return (Criteria) this;
        }

        public Criteria andApplyReasonIsNotNull() {
            addCriterion("apply_reason is not null");
            return (Criteria) this;
        }

        public Criteria andApplyReasonEqualTo(Integer value) {
            addCriterion("apply_reason =", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonNotEqualTo(Integer value) {
            addCriterion("apply_reason <>", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonGreaterThan(Integer value) {
            addCriterion("apply_reason >", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonGreaterThanOrEqualTo(Integer value) {
            addCriterion("apply_reason >=", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonLessThan(Integer value) {
            addCriterion("apply_reason <", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonLessThanOrEqualTo(Integer value) {
            addCriterion("apply_reason <=", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonIn(List<Integer> values) {
            addCriterion("apply_reason in", values, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonNotIn(List<Integer> values) {
            addCriterion("apply_reason not in", values, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonBetween(Integer value1, Integer value2) {
            addCriterion("apply_reason between", value1, value2, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonNotBetween(Integer value1, Integer value2) {
            addCriterion("apply_reason not between", value1, value2, "applyReason");
            return (Criteria) this;
        }

        public Criteria andPatientCardIsNull() {
            addCriterion("patient_card is null");
            return (Criteria) this;
        }

        public Criteria andPatientCardIsNotNull() {
            addCriterion("patient_card is not null");
            return (Criteria) this;
        }

        public Criteria andPatientCardEqualTo(String value) {
            addCriterion("patient_card =", value, "patientCard");
            return (Criteria) this;
        }

        public Criteria andPatientCardNotEqualTo(String value) {
            addCriterion("patient_card <>", value, "patientCard");
            return (Criteria) this;
        }

        public Criteria andPatientCardGreaterThan(String value) {
            addCriterion("patient_card >", value, "patientCard");
            return (Criteria) this;
        }

        public Criteria andPatientCardGreaterThanOrEqualTo(String value) {
            addCriterion("patient_card >=", value, "patientCard");
            return (Criteria) this;
        }

        public Criteria andPatientCardLessThan(String value) {
            addCriterion("patient_card <", value, "patientCard");
            return (Criteria) this;
        }

        public Criteria andPatientCardLessThanOrEqualTo(String value) {
            addCriterion("patient_card <=", value, "patientCard");
            return (Criteria) this;
        }

        public Criteria andPatientCardLike(String value) {
            addCriterion("patient_card like", value, "patientCard");
            return (Criteria) this;
        }

        public Criteria andPatientCardNotLike(String value) {
            addCriterion("patient_card not like", value, "patientCard");
            return (Criteria) this;
        }

        public Criteria andPatientCardIn(List<String> values) {
            addCriterion("patient_card in", values, "patientCard");
            return (Criteria) this;
        }

        public Criteria andPatientCardNotIn(List<String> values) {
            addCriterion("patient_card not in", values, "patientCard");
            return (Criteria) this;
        }

        public Criteria andPatientCardBetween(String value1, String value2) {
            addCriterion("patient_card between", value1, value2, "patientCard");
            return (Criteria) this;
        }

        public Criteria andPatientCardNotBetween(String value1, String value2) {
            addCriterion("patient_card not between", value1, value2, "patientCard");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationIsNull() {
            addCriterion("apply_patient_relation is null");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationIsNotNull() {
            addCriterion("apply_patient_relation is not null");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationEqualTo(String value) {
            addCriterion("apply_patient_relation =", value, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationNotEqualTo(String value) {
            addCriterion("apply_patient_relation <>", value, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationGreaterThan(String value) {
            addCriterion("apply_patient_relation >", value, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationGreaterThanOrEqualTo(String value) {
            addCriterion("apply_patient_relation >=", value, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationLessThan(String value) {
            addCriterion("apply_patient_relation <", value, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationLessThanOrEqualTo(String value) {
            addCriterion("apply_patient_relation <=", value, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationLike(String value) {
            addCriterion("apply_patient_relation like", value, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationNotLike(String value) {
            addCriterion("apply_patient_relation not like", value, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationIn(List<String> values) {
            addCriterion("apply_patient_relation in", values, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationNotIn(List<String> values) {
            addCriterion("apply_patient_relation not in", values, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationBetween(String value1, String value2) {
            addCriterion("apply_patient_relation between", value1, value2, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andApplyPatientRelationNotBetween(String value1, String value2) {
            addCriterion("apply_patient_relation not between", value1, value2, "applyPatientRelation");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andPatientNameIsNull() {
            addCriterion("patient_name is null");
            return (Criteria) this;
        }

        public Criteria andPatientNameIsNotNull() {
            addCriterion("patient_name is not null");
            return (Criteria) this;
        }

        public Criteria andPatientNameEqualTo(String value) {
            addCriterion("patient_name =", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotEqualTo(String value) {
            addCriterion("patient_name <>", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameGreaterThan(String value) {
            addCriterion("patient_name >", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameGreaterThanOrEqualTo(String value) {
            addCriterion("patient_name >=", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameLessThan(String value) {
            addCriterion("patient_name <", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameLessThanOrEqualTo(String value) {
            addCriterion("patient_name <=", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameLike(String value) {
            addCriterion("patient_name like", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotLike(String value) {
            addCriterion("patient_name not like", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameIn(List<String> values) {
            addCriterion("patient_name in", values, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotIn(List<String> values) {
            addCriterion("patient_name not in", values, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameBetween(String value1, String value2) {
            addCriterion("patient_name between", value1, value2, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotBetween(String value1, String value2) {
            addCriterion("patient_name not between", value1, value2, "patientName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameIsNull() {
            addCriterion("register_name is null");
            return (Criteria) this;
        }

        public Criteria andRegisterNameIsNotNull() {
            addCriterion("register_name is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterNameEqualTo(String value) {
            addCriterion("register_name =", value, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameNotEqualTo(String value) {
            addCriterion("register_name <>", value, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameGreaterThan(String value) {
            addCriterion("register_name >", value, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameGreaterThanOrEqualTo(String value) {
            addCriterion("register_name >=", value, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameLessThan(String value) {
            addCriterion("register_name <", value, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameLessThanOrEqualTo(String value) {
            addCriterion("register_name <=", value, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameLike(String value) {
            addCriterion("register_name like", value, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameNotLike(String value) {
            addCriterion("register_name not like", value, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameIn(List<String> values) {
            addCriterion("register_name in", values, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameNotIn(List<String> values) {
            addCriterion("register_name not in", values, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameBetween(String value1, String value2) {
            addCriterion("register_name between", value1, value2, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterNameNotBetween(String value1, String value2) {
            addCriterion("register_name not between", value1, value2, "registerName");
            return (Criteria) this;
        }

        public Criteria andRegisterCardIsNull() {
            addCriterion("register_card is null");
            return (Criteria) this;
        }

        public Criteria andRegisterCardIsNotNull() {
            addCriterion("register_card is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterCardEqualTo(String value) {
            addCriterion("register_card =", value, "registerCard");
            return (Criteria) this;
        }

        public Criteria andRegisterCardNotEqualTo(String value) {
            addCriterion("register_card <>", value, "registerCard");
            return (Criteria) this;
        }

        public Criteria andRegisterCardGreaterThan(String value) {
            addCriterion("register_card >", value, "registerCard");
            return (Criteria) this;
        }

        public Criteria andRegisterCardGreaterThanOrEqualTo(String value) {
            addCriterion("register_card >=", value, "registerCard");
            return (Criteria) this;
        }

        public Criteria andRegisterCardLessThan(String value) {
            addCriterion("register_card <", value, "registerCard");
            return (Criteria) this;
        }

        public Criteria andRegisterCardLessThanOrEqualTo(String value) {
            addCriterion("register_card <=", value, "registerCard");
            return (Criteria) this;
        }

        public Criteria andRegisterCardLike(String value) {
            addCriterion("register_card like", value, "registerCard");
            return (Criteria) this;
        }

        public Criteria andRegisterCardNotLike(String value) {
            addCriterion("register_card not like", value, "registerCard");
            return (Criteria) this;
        }

        public Criteria andRegisterCardIn(List<String> values) {
            addCriterion("register_card in", values, "registerCard");
            return (Criteria) this;
        }

        public Criteria andRegisterCardNotIn(List<String> values) {
            addCriterion("register_card not in", values, "registerCard");
            return (Criteria) this;
        }

        public Criteria andRegisterCardBetween(String value1, String value2) {
            addCriterion("register_card between", value1, value2, "registerCard");
            return (Criteria) this;
        }

        public Criteria andRegisterCardNotBetween(String value1, String value2) {
            addCriterion("register_card not between", value1, value2, "registerCard");
            return (Criteria) this;
        }

        public Criteria andUniqueIdIsNull() {
            addCriterion("unique_id is null");
            return (Criteria) this;
        }

        public Criteria andUniqueIdIsNotNull() {
            addCriterion("unique_id is not null");
            return (Criteria) this;
        }

        public Criteria andUniqueIdEqualTo(String value) {
            addCriterion("unique_id =", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdNotEqualTo(String value) {
            addCriterion("unique_id <>", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdGreaterThan(String value) {
            addCriterion("unique_id >", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdGreaterThanOrEqualTo(String value) {
            addCriterion("unique_id >=", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdLessThan(String value) {
            addCriterion("unique_id <", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdLessThanOrEqualTo(String value) {
            addCriterion("unique_id <=", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdLike(String value) {
            addCriterion("unique_id like", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdNotLike(String value) {
            addCriterion("unique_id not like", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdIn(List<String> values) {
            addCriterion("unique_id in", values, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdNotIn(List<String> values) {
            addCriterion("unique_id not in", values, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdBetween(String value1, String value2) {
            addCriterion("unique_id between", value1, value2, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdNotBetween(String value1, String value2) {
            addCriterion("unique_id not between", value1, value2, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andLinkWayIsNull() {
            addCriterion("link_way is null");
            return (Criteria) this;
        }

        public Criteria andLinkWayIsNotNull() {
            addCriterion("link_way is not null");
            return (Criteria) this;
        }

        public Criteria andLinkWayEqualTo(String value) {
            addCriterion("link_way =", value, "linkWay");
            return (Criteria) this;
        }

        public Criteria andLinkWayNotEqualTo(String value) {
            addCriterion("link_way <>", value, "linkWay");
            return (Criteria) this;
        }

        public Criteria andLinkWayGreaterThan(String value) {
            addCriterion("link_way >", value, "linkWay");
            return (Criteria) this;
        }

        public Criteria andLinkWayGreaterThanOrEqualTo(String value) {
            addCriterion("link_way >=", value, "linkWay");
            return (Criteria) this;
        }

        public Criteria andLinkWayLessThan(String value) {
            addCriterion("link_way <", value, "linkWay");
            return (Criteria) this;
        }

        public Criteria andLinkWayLessThanOrEqualTo(String value) {
            addCriterion("link_way <=", value, "linkWay");
            return (Criteria) this;
        }

        public Criteria andLinkWayLike(String value) {
            addCriterion("link_way like", value, "linkWay");
            return (Criteria) this;
        }

        public Criteria andLinkWayNotLike(String value) {
            addCriterion("link_way not like", value, "linkWay");
            return (Criteria) this;
        }

        public Criteria andLinkWayIn(List<String> values) {
            addCriterion("link_way in", values, "linkWay");
            return (Criteria) this;
        }

        public Criteria andLinkWayNotIn(List<String> values) {
            addCriterion("link_way not in", values, "linkWay");
            return (Criteria) this;
        }

        public Criteria andLinkWayBetween(String value1, String value2) {
            addCriterion("link_way between", value1, value2, "linkWay");
            return (Criteria) this;
        }

        public Criteria andLinkWayNotBetween(String value1, String value2) {
            addCriterion("link_way not between", value1, value2, "linkWay");
            return (Criteria) this;
        }

        public Criteria andApplyStyleIsNull() {
            addCriterion("apply_style is null");
            return (Criteria) this;
        }

        public Criteria andApplyStyleIsNotNull() {
            addCriterion("apply_style is not null");
            return (Criteria) this;
        }

        public Criteria andApplyStyleEqualTo(String value) {
            addCriterion("apply_style =", value, "applyStyle");
            return (Criteria) this;
        }

        public Criteria andApplyStyleNotEqualTo(String value) {
            addCriterion("apply_style <>", value, "applyStyle");
            return (Criteria) this;
        }

        public Criteria andApplyStyleGreaterThan(String value) {
            addCriterion("apply_style >", value, "applyStyle");
            return (Criteria) this;
        }

        public Criteria andApplyStyleGreaterThanOrEqualTo(String value) {
            addCriterion("apply_style >=", value, "applyStyle");
            return (Criteria) this;
        }

        public Criteria andApplyStyleLessThan(String value) {
            addCriterion("apply_style <", value, "applyStyle");
            return (Criteria) this;
        }

        public Criteria andApplyStyleLessThanOrEqualTo(String value) {
            addCriterion("apply_style <=", value, "applyStyle");
            return (Criteria) this;
        }

        public Criteria andApplyStyleLike(String value) {
            addCriterion("apply_style like", value, "applyStyle");
            return (Criteria) this;
        }

        public Criteria andApplyStyleNotLike(String value) {
            addCriterion("apply_style not like", value, "applyStyle");
            return (Criteria) this;
        }

        public Criteria andApplyStyleIn(List<String> values) {
            addCriterion("apply_style in", values, "applyStyle");
            return (Criteria) this;
        }

        public Criteria andApplyStyleNotIn(List<String> values) {
            addCriterion("apply_style not in", values, "applyStyle");
            return (Criteria) this;
        }

        public Criteria andApplyStyleBetween(String value1, String value2) {
            addCriterion("apply_style between", value1, value2, "applyStyle");
            return (Criteria) this;
        }

        public Criteria andApplyStyleNotBetween(String value1, String value2) {
            addCriterion("apply_style not between", value1, value2, "applyStyle");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}